package com.heima.wemedia.feign;

import com.heima.model.media.dtos.WmNewsStatisticsDto;
import com.heima.model.user.pojos.ApUserFan;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "leadnews-user")
public interface UserFeign {

    @PostMapping("/api/v1/user/queryFansId")
    List<Long> queryFansId(WmNewsStatisticsDto dto);
}